package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.CustomLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * custom日志Mapper接口
 * 
 * @author ruoyi
 * @date 2023-05-10
 */
@Mapper
public interface CustomLogMapper 
{
    /**
     * 查询custom日志
     * 
     * @param id custom日志主键
     * @return custom日志
     */
    public CustomLog selectCustomLogById(String id);

    /**
     * 查询custom日志列表
     * 
     * @param customLog custom日志
     * @return custom日志集合
     */
    public List<CustomLog> selectCustomLogList(CustomLog customLog);

    /**
     * 新增custom日志
     * 
     * @param customLog custom日志
     * @return 结果
     */
    public int insertCustomLog(CustomLog customLog);

    /**
     * 修改custom日志
     * 
     * @param customLog custom日志
     * @return 结果
     */
    public int updateCustomLog(CustomLog customLog);

    /**
     * 删除custom日志
     * 
     * @param id custom日志主键
     * @return 结果
     */
    public int deleteCustomLogById(String id);

    /**
     * 批量删除custom日志
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCustomLogByIds(String[] ids);

    public List<Map<String,Object>> findcustomlog(@Param("danweimingcheng")String ppDanweimingcheng,@Param("jigoujibie")String ppJigoujibie,@Param("diqu")String ppDiqu,@Param("startindex")int ppStartIndex,@Param("pagesize")int ppPageSize);

    public int countcustomlog(@Param("danweimingcheng")String ppDanweimingcheng,@Param("jigoujibie")String ppJigoujibie,@Param("diqu")String ppDiqu);

}
